/*
 * @Author: 颜礼田 2564217790@qq.com
 * @Date: 2024-09-07 16:50:10
 * @LastEditors: 颜礼田 2564217790@qq.com
 * @LastEditTime: 2024-09-07 17:40:14
 * @FilePath: /webServer/src/schema/permission/index.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { BaseColumns } from '../base';
import { RoleSchema } from '../role';
export interface PermissionSchema extends BaseColumns {
  // 权限名称
  permissionName: string;

  // 权限编码
  permissionCode: string;

  //
  role?: RoleSchema[];
}
